package com.ifonly.datatables.model;

/**
 * <p>
 * .
 * </p>
 *
 * @author Jerry Ou
 * @version 1.0 2015-08-31 14:48
 * @since JDK 1.6
 */
public class DTSearch {
    private String value;
    private boolean regex;

    public DTSearch() {
    }

    public DTSearch(String value, boolean regex) {
        this.value = value;
        this.regex = regex;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isRegex() {
        return regex;
    }

    public void setRegex(boolean regex) {
        this.regex = regex;
    }

    @Override
    public String toString() {
        return "DTSearch{" +
                "value='" + value + '\'' +
                ", regex=" + regex +
                '}';
    }
}
